SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{604f1a05c8ed8e31c0e0faec1e83c43d9305c7b9c23d02c085c09aff114771bf}Sant{604f1a05c8ed8e31c0e0faec1e83c43d9305c7b9c23d02c085c09aff114771bf}' OR prCity = 'Sant' OR prZip = 'Sant' OR prStreet LIKE '{604f1a05c8ed8e31c0e0faec1e83c43d9305c7b9c23d02c085c09aff114771bf}Sant{604f1a05c8ed8e31c0e0faec1e83c43d9305c7b9c23d02c085c09aff114771bf}' OR prCountry = 'Sant') AND (prLocation LIKE '{604f1a05c8ed8e31c0e0faec1e83c43d9305c7b9c23d02c085c09aff114771bf}Josep{604f1a05c8ed8e31c0e0faec1e83c43d9305c7b9c23d02c085c09aff114771bf}' OR prCity = 'Josep' OR prZip = 'Josep' OR prStreet LIKE '{604f1a05c8ed8e31c0e0faec1e83c43d9305c7b9c23d02c085c09aff114771bf}Josep{604f1a05c8ed8e31c0e0faec1e83c43d9305c7b9c23d02c085c09aff114771bf}' OR prCountry = 'Josep') AND (prLocation LIKE '{604f1a05c8ed8e31c0e0faec1e83c43d9305c7b9c23d02c085c09aff114771bf}de{604f1a05c8ed8e31c0e0faec1e83c43d9305c7b9c23d02c085c09aff114771bf}' OR prCity = 'de' OR prZip = 'de' OR prStreet LIKE '{604f1a05c8ed8e31c0e0faec1e83c43d9305c7b9c23d02c085c09aff114771bf}de{604f1a05c8ed8e31c0e0faec1e83c43d9305c7b9c23d02c085c09aff114771bf}' OR prCountry = 'de') AND (prLocation LIKE '{604f1a05c8ed8e31c0e0faec1e83c43d9305c7b9c23d02c085c09aff114771bf}sa{604f1a05c8ed8e31c0e0faec1e83c43d9305c7b9c23d02c085c09aff114771bf}' OR prCity = 'sa' OR prZip = 'sa' OR prStreet LIKE '{604f1a05c8ed8e31c0e0faec1e83c43d9305c7b9c23d02c085c09aff114771bf}sa{604f1a05c8ed8e31c0e0faec1e83c43d9305c7b9c23d02c085c09aff114771bf}' OR prCountry = 'sa') AND (prLocation LIKE '{604f1a05c8ed8e31c0e0faec1e83c43d9305c7b9c23d02c085c09aff114771bf}Talaia{604f1a05c8ed8e31c0e0faec1e83c43d9305c7b9c23d02c085c09aff114771bf}' OR prCity = 'Talaia' OR prZip = 'Talaia' OR prStreet LIKE '{604f1a05c8ed8e31c0e0faec1e83c43d9305c7b9c23d02c085c09aff114771bf}Talaia{604f1a05c8ed8e31c0e0faec1e83c43d9305c7b9c23d02c085c09aff114771bf}' OR prCountry = 'Talaia') AND (prLocation LIKE '{604f1a05c8ed8e31c0e0faec1e83c43d9305c7b9c23d02c085c09aff114771bf}Spain{604f1a05c8ed8e31c0e0faec1e83c43d9305c7b9c23d02c085c09aff114771bf}' OR prCity = 'Spain' OR prZip = 'Spain' OR prStreet LIKE '{604f1a05c8ed8e31c0e0faec1e83c43d9305c7b9c23d02c085c09aff114771bf}Spain{604f1a05c8ed8e31c0e0faec1e83c43d9305c7b9c23d02c085c09aff114771bf}' OR prCountry = 'Spain')